package com.atguigu.gulimail.ware.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("gulimail-order")
public interface OrderFeignService {

    @RequestMapping("order/order/status/{orderSn}")
    R getBySn(@PathVariable("orderSn")String orderSn);


}
